/**
 * 
 */
package com.worksmap.core.entity;

import java.io.Serializable;

/**
 * @author jack
 *
 */
public class TaoBaoTrade implements Serializable{
	
	private static final long serialVersionUID = -4325344849706193024L;
	
	/**
	 * 交易编号(订单编号)
	 */
	private String tid;
	/**
	 * 交易标题，以店铺名作为此标题的值。注:taobao.trades.get接口返回的Trade中的title是商品名称
	 */
	private String title;
	/**
	 * 交易状态。可选值: 
	 * * TRADE_NO_CREATE_PAY(没有创建支付宝交易) * WAIT_BUYER_PAY(等待买家付款) 
	 * * SELLER_CONSIGNED_PART(卖家部分发货) * WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款) 
	 * * WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货) * TRADE_BUYER_SIGNED(买家已签收,货到付款专用) 
	 * * TRADE_FINISHED(交易成功) * TRADE_CLOSED(付款以后用户退款成功，交易自动关闭) * TRADE_CLOSED_BY_TAOBAO(付款以前，卖家或买家主动关闭交易)
	 */
	private String status;
	/**
	 * 付款时间
	 */
	private String pay_time;
	/**
	 * 商品金额（商品价格乘以数量的总金额）
	 */
	private String total_fee;
	/**
	 * 买家昵称
	 */
	private String buyer_nick;
	/**
	 * 买家是否已评价
	 * 可选值:true(已评价),false(未评价)。如买家只评价未打分，此字段仍返回false
	 */
	private boolean buyer_rate;
	/**
	 * 卖家是否已评价。
	 * 可选值:true(已评价),false(未评价)
	 */
	private boolean seller_rate;
	
	/**
	 * @return the tid
	 */
	public String getTid() {
		return tid;
	}



	/**
	 * @param tid the tid to set
	 */
	public void setTid(String tid) {
		this.tid = tid;
	}



	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}



	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}



	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}



	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}



	/**
	 * @return the pay_time
	 */
	public String getPay_time() {
		return pay_time;
	}



	/**
	 * @param pay_time the pay_time to set
	 */
	public void setPay_time(String pay_time) {
		this.pay_time = pay_time;
	}



	/**
	 * @return the total_fee
	 */
	public String getTotal_fee() {
		return total_fee;
	}



	/**
	 * @param total_fee the total_fee to set
	 */
	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}



	/**
	 * @return the buyer_nick
	 */
	public String getBuyer_nick() {
		return buyer_nick;
	}



	/**
	 * @param buyer_nick the buyer_nick to set
	 */
	public void setBuyer_nick(String buyer_nick) {
		this.buyer_nick = buyer_nick;
	}



	/**
	 * @return the buyer_rate
	 */
	public boolean isBuyer_rate() {
		return buyer_rate;
	}



	/**
	 * @param buyer_rate the buyer_rate to set
	 */
	public void setBuyer_rate(boolean buyer_rate) {
		this.buyer_rate = buyer_rate;
	}



	/**
	 * @return the seller_rate
	 */
	public boolean isSeller_rate() {
		return seller_rate;
	}



	/**
	 * @param seller_rate the seller_rate to set
	 */
	public void setSeller_rate(boolean seller_rate) {
		this.seller_rate = seller_rate;
	}



	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "TaoBaoTrade [tid=" + tid + ", title=" + title + ", status="
				+ status + ", pay_time=" + pay_time + ", total_fee="
				+ total_fee + ", buyer_nick=" + buyer_nick + ", buyer_rate="
				+ buyer_rate + ", seller_rate=" + seller_rate + "]";
	}


}
